package com.diamond.service;

import java.util.Collection;
import java.util.List;

import com.diamond.bo.ClientOrderBO;
import com.diamond.bo.OrderBO;
import com.diamond.bo.QueryOrderBO;
import com.diamond.bo.ReturnBO;
import com.diamond.entity.Clientorder;
import com.diamond.entity.Clientorderdetail;
import com.diamond.facade.ClientorderFacade;
import com.diamond.po.ClientOrderPO;


/**
 * @author JSmart Tools
 */
 
public interface IClientorderService extends IService<ClientOrderPO> {

	ReturnBO<ClientOrderBO> queryClientOrder(QueryOrderBO queryOrderBo) throws Exception;

	OrderBO queryClientOrderById(String cliOrdMasterId)throws Exception;

	void save(Clientorder bo, Collection<Clientorderdetail> coll,Object angent_id)throws Exception;

	Clientorder findByNO(String orderNO);

	List findOrderList(Long userId, ClientOrderBO clientOrderBo,ClientorderFacade clientOrderFacade,Integer pageSize)throws Exception;
	
	List findCentOrderList(Long userId, ClientOrderBO clientOrderBo,ClientorderFacade clientOrderFacade,Integer pageSize)throws Exception;

}
